/config/system/interface/<intf_name>/carp//ip/addrMask

The nodes below this one perform the functions described in this function overview.

Use

Use to configure the IPv4 or IPv6 address for the CARP group. This is the address for which this VHID will manage failover.

Parameters

intf_name: Name of interface

vhid: Virtual Host ID (VHID) used to identify the CARP group

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/system/interfa ce/em1/carp/1/ip/addrMask

GET Response

{"/config/system/interface/em1/carp/1/ip/addrMask": {"data": None,
                                                      "default": False,
                                                      "defaultAllowed": False,
                                                      "deleteAllowed": False,
                                                      "numChildren": 0,
                                                      "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/system/interface/em1/carp/1/ip/addrMask"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/system/interfa ce/em1/carp/1/ip/addrMask?op=list

GET Response

{"/config/system/interface/em1/carp/1/ip/addrMask": {"default": False,
                                                      "defaultAllowed": False,
                                                      "deleteAllowed": False,
                                                      "numChildren": 0,
                                                      "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/system/interface/em1/carp/1/ip/addrMask"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/system/interfa ce/em1/carp/1/ip/addrMask?level=recurse

  1. /config/system/interface/<intf_name>/carp//ip/addrMask 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples